﻿@model Coslen.TahorCRM.Domain.Entities.ViewModels.Editing.UserEditViewModel

@Html.HiddenFor(model => model.User.UserId)
@Html.HiddenFor(model => model.User.CreatedAt)
@Html.HiddenFor(model => model.User.UpdatedAt)
@Html.HiddenFor(model => model.User.DeletedAt)

@Html.HiddenFor(model => model.User.LastLoginAt)
@Html.HiddenFor(model => model.User.LastLoginIp)
@Html.HiddenFor(model => model.User.PasswordSalt)
@Html.HiddenFor(model => model.User.PasswordHash)
@Html.HiddenFor(model => model.User.LoginCount)
@Html.HiddenFor(model => model.User.ActivatedAt)
@Html.HiddenFor(model => model.User.LastLockedOutAt)

<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.Username)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.User.Username)
        @Html.ValidationMessageFor(model => model.User.Username)
    </div>
</div>
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.Email)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.User.Email)
        @Html.ValidationMessageFor(model => model.User.Email)
    </div>
</div>
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.IsActivated)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.User.IsActivated)
        @Html.ValidationMessageFor(model => model.User.IsActivated)
    </div>
</div>
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.IsLockedOut)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.User.IsLockedOut)
        @Html.ValidationMessageFor(model => model.User.IsLockedOut)
    </div>
</div>
<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.NewPassword1)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(model => model.User.NewPassword1)
        @Html.ValidationMessageFor(model => model.User.NewPassword1)
    </div>
</div>

<div class="editor-row">
    <div class="editor-label">
        @Html.LabelFor(model => model.User.NewPassword2)
    </div>
    <div class="editor-field">
        @Html.PasswordFor(model => model.User.NewPassword2)
        @Html.ValidationMessageFor(model => model.User.NewPassword2)
    </div>
</div>


